package com.sherlockHolmes.init.auth2;

import org.apache.shiro.authc.AuthenticationToken;

public class JWTToken implements AuthenticationToken {
    private String header;

    public JWTToken(String header) {
        this.header = header;
    }

    @Override
    public Object getPrincipal() {
        return header;
    }

    @Override
    public Object getCredentials() {
        return header;
    }
}
